namespace SPI.AgentServer.Configuration;

public class DatabaseConfiguration
{
    public ConnectionInfo DefaultConnection { get; set; } = new();
    public List<ConnectionInfo> Connections { get; set; } = new();
    public int QueryTimeout { get; set; } = 30;
    public int MaxResults { get; set; } = 1000;
}

public class ConnectionInfo
{
    public string Name { get; set; } = string.Empty;
    public string Provider { get; set; } = string.Empty;
    public string ConnectionString { get; set; } = string.Empty;
    public bool IsDefault { get; set; }
}
